﻿@using Blog.Model
@{
    ViewBag.Title = "Index";
}
<h2>Index</h2>
@if (ViewData["articleList"] != null)
{
    foreach (Article item in (List<Article>) ViewData["articleList"])
    {
        <div>@item.ID</div>
        <div>@item.Time</div>
        <div>@item.Content</div>
    }
}

